home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Libraries / tcl7.4b3 / doc / CmdCmplt.3 < prev    next >
Encoding:
Text File  |  1994-12-17  |  968 b   |  37 lines

  1. '\"
  2. '\" Copyright (c) 1989-1993 The Regents of the University of California.
  3. '\" Copyright (c) 1994 Sun Microsystems, Inc.
  4. '\"
  5. '\" See the file "license.terms" for information on usage and redistribution
  6. '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  7. '\" 
  8. '\" @(#) CmdCmplt.3 1.3 94/12/17 16:17:09
  9. '\" 
  10. .so man.macros
  11. .HS Tcl_CommandComplete tclc
  12. .BS
  13. .SH NAME
  14. Tcl_CommandComplete \- Check for unmatched braces in a Tcl command
  15. .SH SYNOPSIS
  16. .nf
  17. \fB#include <tcl.h>\fR
  18. .sp
  19. int
  20. \fBTcl_CommandComplete\fR(\fIcmd\fR)
  21. .SH ARGUMENTS
  22. .AS char *cmd
  23. .AP char *cmd in
  24. Command string to test for completeness.
  25. .BE
  26.  
  27. .SH DESCRIPTION
  28. .PP
  29. \fBTcl_CommandComplete\fR takes a Tcl command string
  30. as argument and determines whether it contains one or more
  31. complete commands (i.e. there are no unclosed quotes, braces,
  32. brackets, or variable references).
  33. If the command string is complete then it returns 1; otherwise it returns 0.
  34.  
  35. .SH KEYWORDS
  36. complete command, partial command
  37.